package com.yhd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yhd.entity.Comment;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author yinhuidong
 * @createTime 2020-07-08-18:10
 */
@Repository
public interface CommentMapper extends BaseMapper<Comment> {
    List<Comment> selectCommentVoList(Map<String, Object> filter);
    Long selectCommentPageCount(Map<String, Object> filter);
    void deleteByArticleId(Integer articleid);
}
